﻿package javase.io;

import java.io.*;
public class BRRead {
public static void main(String args[])throws IOException
{
    String str;
	BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
	System.out.println("Enter character bye to quit");
	//read character
	do
	{
	str=br.readLine();
	System.out.println(str);
	
	}while(!str.equals("bye"));
}
}
